\hypertarget{class_q_q_t_serial_message}{}\section{Q\+Q\+T\+Serial\+Message Class Reference}
\label{class_q_q_t_serial_message}\index{Q\+Q\+T\+Serial\+Message@{Q\+Q\+T\+Serial\+Message}}
Inheritance diagram for Q\+Q\+T\+Serial\+Message\+:\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[height=2.176871cm]{class_q_q_t_serial_message}
\end{center}
\end{figure}
\subsection*{Public Member Functions}
\begin{DoxyCompactItemize}
\item 
\mbox{\Hypertarget{class_q_q_t_serial_message_a192b85d6620a8d3b5a02ef2884cbe341}\label{class_q_q_t_serial_message_a192b85d6620a8d3b5a02ef2884cbe341}} 
{\bfseries Q\+Q\+T\+Serial\+Message} (Q\+Object $\ast$parent=0)
\item 
\mbox{\Hypertarget{class_q_q_t_serial_message_a769b4833a95d833e278f9c0e7fd7aa20}\label{class_q_q_t_serial_message_a769b4833a95d833e278f9c0e7fd7aa20}} 
const quint16 \& {\bfseries head} () const
\item 
\mbox{\Hypertarget{class_q_q_t_serial_message_ac633f222bfcb501a0ae02ec1eea0cba4}\label{class_q_q_t_serial_message_ac633f222bfcb501a0ae02ec1eea0cba4}} 
void {\bfseries set\+Head} (quint16 head)
\item 
\mbox{\Hypertarget{class_q_q_t_serial_message_a7485a62d92a045e81567eed1335d42c2}\label{class_q_q_t_serial_message_a7485a62d92a045e81567eed1335d42c2}} 
const quint16 \& {\bfseries size} () const
\item 
\mbox{\Hypertarget{class_q_q_t_serial_message_a7fe6e5f6801ff690df503dce268463e3}\label{class_q_q_t_serial_message_a7fe6e5f6801ff690df503dce268463e3}} 
void {\bfseries set\+Size} (quint16 size)
\item 
\mbox{\Hypertarget{class_q_q_t_serial_message_a86c4246262309eb94bdf6cd8d6265bca}\label{class_q_q_t_serial_message_a86c4246262309eb94bdf6cd8d6265bca}} 
const quint16 \& {\bfseries cmd} () const
\item 
\mbox{\Hypertarget{class_q_q_t_serial_message_a3157a1299feadb0cdff4442e959ca350}\label{class_q_q_t_serial_message_a3157a1299feadb0cdff4442e959ca350}} 
void {\bfseries set\+Cmd} (quint16 cmd)
\item 
\mbox{\Hypertarget{class_q_q_t_serial_message_a250a4df976f9e469b6deb9c082af66f9}\label{class_q_q_t_serial_message_a250a4df976f9e469b6deb9c082af66f9}} 
const Q\+Byte\+Array \& {\bfseries data} () const
\item 
\mbox{\Hypertarget{class_q_q_t_serial_message_a8adc9ef02441e6109a77aa08112f2635}\label{class_q_q_t_serial_message_a8adc9ef02441e6109a77aa08112f2635}} 
void {\bfseries set\+Data} (Q\+Byte\+Array \&data)
\item 
\mbox{\Hypertarget{class_q_q_t_serial_message_a0b6cc7e86ef8bd4106029137b44298dc}\label{class_q_q_t_serial_message_a0b6cc7e86ef8bd4106029137b44298dc}} 
const quint16 \& {\bfseries sum} () const
\item 
\mbox{\Hypertarget{class_q_q_t_serial_message_a874b1dfaf6194e189b11187400761d79}\label{class_q_q_t_serial_message_a874b1dfaf6194e189b11187400761d79}} 
void {\bfseries set\+Sum} (quint16 sum)
\item 
\mbox{\Hypertarget{class_q_q_t_serial_message_ae1121a8897700f94b65aff565a697898}\label{class_q_q_t_serial_message_ae1121a8897700f94b65aff565a697898}} 
const quint16 \& {\bfseries tail} () const
\item 
\mbox{\Hypertarget{class_q_q_t_serial_message_a83aa4a30d8a174101a54734c93940602}\label{class_q_q_t_serial_message_a83aa4a30d8a174101a54734c93940602}} 
void {\bfseries set\+Tail} (quint16 tail)
\item 
\mbox{\Hypertarget{class_q_q_t_serial_message_a8f64987674587b52f66493d2a67e5cd8}\label{class_q_q_t_serial_message_a8f64987674587b52f66493d2a67e5cd8}} 
void {\bfseries translate} ()
\item 
void \mbox{\hyperlink{class_q_q_t_serial_message_a9533887dc0566c5ee16990b323df94ef}{parser}} (const Q\+Byte\+Array \&l) override
\begin{DoxyCompactList}\small\item\em 从流中解析报文 这个函数会更改局部变量 \end{DoxyCompactList}\item 
void \mbox{\hyperlink{class_q_q_t_serial_message_a4f677828bfdb05d584c761413b6c15bc}{packer}} (Q\+Byte\+Array \&l) const override
\begin{DoxyCompactList}\small\item\em 将报文组装为流 这个函数不会更改局部变量 \end{DoxyCompactList}\end{DoxyCompactItemize}


\subsection{Member Function Documentation}
\mbox{\Hypertarget{class_q_q_t_serial_message_a4f677828bfdb05d584c761413b6c15bc}\label{class_q_q_t_serial_message_a4f677828bfdb05d584c761413b6c15bc}} 
\index{Q\+Q\+T\+Serial\+Message@{Q\+Q\+T\+Serial\+Message}!packer@{packer}}
\index{packer@{packer}!Q\+Q\+T\+Serial\+Message@{Q\+Q\+T\+Serial\+Message}}
\subsubsection{\texorpdfstring{packer()}{packer()}}
{\footnotesize\ttfamily void Q\+Q\+T\+Serial\+Message\+::packer (\begin{DoxyParamCaption}\item[{Q\+Byte\+Array \&}]{ }\end{DoxyParamCaption}) const\hspace{0.3cm}{\ttfamily [override]}, {\ttfamily [virtual]}}



将报文组装为流 这个函数不会更改局部变量 


\begin{DoxyParams}{Parameters}
{\em l} & \\
\hline
{\em m} & \\
\hline
\end{DoxyParams}


Reimplemented from \mbox{\hyperlink{class_q_qt_message_af1885c2c3628495808dca66ee8d72e14}{Q\+Qt\+Message}}.

\mbox{\Hypertarget{class_q_q_t_serial_message_a9533887dc0566c5ee16990b323df94ef}\label{class_q_q_t_serial_message_a9533887dc0566c5ee16990b323df94ef}} 
\index{Q\+Q\+T\+Serial\+Message@{Q\+Q\+T\+Serial\+Message}!parser@{parser}}
\index{parser@{parser}!Q\+Q\+T\+Serial\+Message@{Q\+Q\+T\+Serial\+Message}}
\subsubsection{\texorpdfstring{parser()}{parser()}}
{\footnotesize\ttfamily void Q\+Q\+T\+Serial\+Message\+::parser (\begin{DoxyParamCaption}\item[{const Q\+Byte\+Array \&}]{ }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [override]}, {\ttfamily [virtual]}}



从流中解析报文 这个函数会更改局部变量 


\begin{DoxyParams}{Parameters}
{\em m} & \\
\hline
{\em l} & \\
\hline
\end{DoxyParams}


Reimplemented from \mbox{\hyperlink{class_q_qt_message_a0bc25669bdd61490b1d8df6d77565f31}{Q\+Qt\+Message}}.



The documentation for this class was generated from the following files\+:\begin{DoxyCompactItemize}
\item 
R\+:/\+Develop/a0-\/develop/\+Lib\+Q\+Qt/examples/qqtnetworkexample/qqtserialmessage.\+h\item 
R\+:/\+Develop/a0-\/develop/\+Lib\+Q\+Qt/examples/qqtnetworkexample/qqtserialmessage.\+cpp\end{DoxyCompactItemize}
